
<div class="wrap">
<h2>NeeWee Theme Settings</h2>
<form action="" method="post" class="themeform">
<h3>Look and Feel</h3>
<table class="form-table">


<tr valign="top">
<th scope="row">Color Scheme</th>
<td>
	<select name="cp_scheme">
		<option<?php if($this->options["color_scheme"] == 'blue') {?> selected="selected"<?} ?> value="blue">Blue</option>
		<option<?php if($this->options["color_scheme"] == 'black') {?> selected="selected"<?} ?> value="black">Black</option>
		<option<?php if($this->options["color_scheme"] == 'orange') {?> selected="selected"<?} ?> value="orange">Orange</option>
	</select>
</td>
</tr>
</table>
		<h3>Generic Theme Settings</h3>
<table class="form-table">

<input type="hidden" id="ss_action" name="ss_action" value="save" />
<tr valign="top">
<th scope="row">Featured Category</th>
<td>
	<select name="cp_featured_article_category">
		<option value="-1">Select Category for Featured Articles</option>
		<?
			$categories=  get_categories(''); 
			  foreach ($categories as $cat) {
			  	$option = '<option value="'.$cat->cat_ID.'"';
				if($this->options["featured_category"] == $cat->cat_ID) {
					$option .= ' selected="selected"';
				}
				$option .= '>';
				$option .= $cat->cat_name;
				$option .= ' ('.$cat->category_count.')';
				$option .= '</option>';
				echo $option;
			  }
		?>
	</select>
</td>
</tr>
</table>
	<h3>Google Tools</h3>
<table class="form-table">
<tr valign="top">
	<th scope="row">Adsense Publisher ID</th>
	<td>
		<input type="text" name="cp_adsense_publisher_id" value="<?php echo($this->options["adsense_publisher_id"]); ?>" />
	</td>
</tr>

<tr valign="top">
	<th scope="row">Analytics Tracker ID</th>
	<td>
		<input type="text" name="cp_analytics_id" value="<?php echo($this->options["analytics_id"]); ?>" />
	</td>
</tr>
</table>

<h3>FeedBurner Settings</h3>
<table class="form-table">
<tr valign="top">
	<th scope="row">FeedBurner Feed URL</th>
	<td>
		<input type="text" name="cp_feedburner_feed_url" value="<?php echo($this->options["feedburner_feed_url"]); ?>" />
	</td>
</tr>

<tr valign="top">
	<th scope="row">FeedBurner Email Subscription ID</th>
	<td>
		<input type="text" name="cp_feedburner_email_id" value="<?php echo($this->options["feedburner_email_id"]); ?>" />
	</td>
</tr>

<tr valign="top">
	<th scope="row">FeedBurner Web Stats</th>
	<td>
		<input value="1" type="checkbox" name="cp_feedburner_stats"<?php $checked_fb = $this->options["feedburner_stats"] == 1 ? " checked=\"checked\"" : ""; echo($checked_fb); ?> />
	</td>
</tr>
</table>
<p class="submit"><input type="submit" value="Save Changes" name="cp_save"/></p>
</form>
</div>